package com.app.drops_water.data.preferences


interface Preferences {

    fun getGoal(): Int

    fun getCount(): Int

    fun getMs(): Long

    fun getDatetime(): Long

    fun setCount(count: Int)

    fun updateMs()

    fun setData(fullname: String, goal: Int)

    fun getData(): Triple<String, Int, Int>

    fun isSetUp(): Boolean


    companion object {
        const val PREF_NAME = "shared_pref"
        const val KEY_FULLNAME = "fullname"
        const val KEY_GOAL = "goal"
        const val KEY_COUNT = "count"
        const val KEY_MS = "ms"
        const val KEY_DATETIME = "datetime"
    }
}